home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / pyshared / launchpadbugs / xmlrpc_bug.py < prev   
Encoding:
Python Source  |  2007-09-10  |  443 b   |  18 lines

  1. from bugbase import Bug as BugBase
  2.  
  3. class XMLRPC_Con(object):
  4.     def __init__(self):
  5.         pass
  6.  
  7. class Bug(BugBase):
  8.  
  9.     def __init__(self, bug=None, url=None, connection=None):
  10.             
  11.         BugBase.__init__(self, bug, url, connection=XMLRPC_Con())
  12.  
  13.     def get_importance(self):
  14.         return "test importance"
  15.         
  16.     def get_attachments(self):
  17.         return "This would return a list of attachments generated via XMLRPC"
  18.